<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.org/ui"> 

<f:view contentType="text/html"	locale="pt_BR">


<script type="text/javascript">
PrimeFaces?.locales['pt'] = {
closeText: 'Fechar', prevText: 'Anterior', nextText: 'Próximo', currentText: 'Começo', monthNames: ['Janeiro','Fevereiro','Março','Abril','Maio','Junho','Julho','Agosto','Setembro','Outubro','Novembro','Dezembro'], monthNamesShort: ['Jan','Fev','Mar','Abr','Mai','Jun', 'Jul','Ago','Set','Out','Nov','Dez'], dayNames: ['Domingo','Segunda','Terça','Quarta','Quinta','Sexta','Sábado'], dayNamesShort: ['Dom','Seg','Ter','Qua','Qui','Sex','Sáb'], dayNamesMin: ['D','S','T','Q','Q','S','S'], weekHeader: 'Semana', firstDay: 1, isRTL: false, showMonthAfterYear: false, yearSuffix: '', timeOnlyTitle: 'Só Horas', timeText: 'Tempo', hourText: 'Hora', minuteText: 'Minuto', secondText: 'Segundo', currentText: 'Data Atual', ampm: false, month: 'Mês', week: 'Semana', day: 'Dia', allDayText : 'Todo Dia'
};
</script>

</f:view>

<h:head>
<script type="text/javascript" src="js/primefaces-locale.js"></script>  
</h:head> 
<body>
 

<p:panel header=" EMP Construtora Ltda ">

	<h:outputText value="#{sessionScope.usuAutenticado.nome}"/>

		, Data e hora de entrada, 
		<h:outputText value="#{sessionScope.dataHora}" >
		
			<f:convertDateTime pattern="dd/MM/yyyy HH:mm"></f:convertDateTime>
		</h:outputText>

	<h:form>
		<p:commandButton action="#{menuBean.cadUsuario}" value="Cadastro Usuario" ajax="false" > </p:commandButton>
		<p:commandButton action="#{menuBean.cadContato}" value="Cadastro Contato" ajax="false"> </p:commandButton>
		<p:commandButton action="#{menuBean.cadCidade}" value="Cadastro Cidade" ajax="false" > </p:commandButton>
		
		<p:commandButton action="#{menuBean.cadCentro}" value="Cadastro Centro" ajax="false" > </p:commandButton>
		<p:commandButton action="#{menuBean.cadBem}" value="Cadastro Bem" ajax="false" > </p:commandButton>
		<p:commandButton action="#{menuBean.cadFornecedor}" value="Cadastro Fornecedor" ajax="false" > </p:commandButton>
		<p:commandButton action="#{menuBean.cadMeloso}" value="Cadastro Meloso" ajax="false" > </p:commandButton>
		
		<p:commandButton value="Lista Centro" action="#{menuBean.listaCentro}" ajax="false"></p:commandButton>
		<p:commandButton value="Lista Transferencia" action="#{menuBean.listaTransferenciaBem}" ajax="false"></p:commandButton>
		<p:commandButton value="Lista Contato" action="#{menuBean.listaContato}" ajax="false"></p:commandButton>
		<p:commandButton value="Lista Cidade" action="#{menuBean.listaCidade}" ajax="false"></p:commandButton>
		<p:commandButton action="#{menuBean.cadTransfBem}" value="Transferencia de Bem" ajax="false" > </p:commandButton>
	</h:form>

</p:panel>

  



</body> 
</html>
